<template>
  <el-dialog
    :title="title"
    :close-on-click-modal="false"
    :visible.sync="visible"
    @closed="dialogClose"
    class="device-dialog"
    width="80%"
  >
    设备
  </el-dialog>
</template>

<script>
export default {
  name: "",
  data() {
    return {
      title: "关联设备",
      visible: false,
    };
  },
  methods: {
    init(id) {
      this.visible = true;
      console.log(id);
    },
    dialogClose() {},
  },
};
</script>

<style lang="scss" scoped>
</style>
